package com.css.dzj.zfjg.modules.admpunishment.service;


import com.css.dzj.zfjg.common.util.R;
import com.css.dzj.zfjg.modules.adminspection.entity.JgJgxwCheckActionEntity;
import com.css.dzj.zfjg.modules.admpunishment.vo.JgJgxwPunishActionVo;
import com.css.dzj.zfjg.modules.admpunishment.entity.JgJgxwPunishActionEntity;
import com.css.dzj.zfjg.modules.taskinfo.vo.rwjgLh;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;


/**
 * 行政处罚行为信息
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-02-17 11:40:26
 */
public interface JgJgxwPunishActionService {

    QueryResults<JgJgxwPunishActionEntity> queryPage(Pageable pageable);
    JgJgxwPunishActionEntity getById(String id);
    rwjgLh findOneById(String actionId);
    String save(JgJgxwPunishActionEntity jgJgxwPunishActionEntity);
    R updateById(String id);

    /**
     * 通过id查询处罚行为信息
     * @param actionId
     * @return
     */
    JgJgxwPunishActionEntity findById(String actionId);

    /**
     * 物理删除处罚行为信息
     * @param punishActionEntity
     */
    void physicalDelete(JgJgxwPunishActionEntity punishActionEntity);
}

